﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HCQ2_Model.Data
{
    /// <summary>
    /// 请求接口参数中的
    /// </summary>
    public class ParamUser: IParamUser
    {
        /// <summary>
        /// 【必填】用户ID
        /// </summary>
        [Required(ErrorMessage = "用户ID必填")]
        public string userid { get; set; }
    }

    /// <summary>
    /// 请求接口参数中的用户Guid
    /// </summary>
    public interface IParamUser {
        /// <summary>
        /// 【必填】用户ID
        /// </summary>
        string userid { get; set; }
    }
}
